﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace RR {
    public class Thumbnail_player : MonoBehaviour
    {
        public float speed;
        // Use this for initialization
        void Start()
        {

        }

        // Update is called once per frame
        void Update()
        {
            if (Thumbnail_cube.isPlay)
            {
                this.gameObject.transform.Rotate(Vector3.left * Time.deltaTime * speed);
            }
        }
    }
}

